package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcCsunHumidistatData;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcCsunHumidistatDataMapper extends Mapper<DmcCsunHumidistatData> {

    /**
     * save or update dmc csun humidistat date
     *
     * @param dmcCsunHumidistatData the dmc csun humidistat data
     *
     * @return the int.
     */
    Integer saveOrUpdate(DmcCsunHumidistatData dmcCsunHumidistatData);

    /**
     * delete by device id list
     *
     * @param deviceIds    the device id list
     *
     * @return  the int
     */
    Integer deleteByDeviceIds(@Param("deviceIds") List<Long> deviceIds);
}